package com.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import javafx.scene.image.PixelFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "juesexinxibiao")
public class Role implements Serializable{
    @TableField(exist = false)
    private  static  final  long seria1VersionUID=1l;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private  String name;
    private  String remark;
    private  int  available;
    private Date createtime;

    @TableField(exist = false)
    private  Integer  pid;
    @TableField(exist = false)
    private List<Permission>permissions;


    @TableField(exist = false)
    private  Integer uid;
    @TableField(exist = false)
    private  List<User> users;
}



